	//
	//  JsRequestManager.h
	//
	//  Created by Gikki Ares on 2020/12/31.
	//
#import <Foundation/Foundation.h>
#import "JsRequestConfig.h"
#import "JsRequestBaseData.h"

NS_ASSUME_NONNULL_BEGIN


@protocol JsRequestManagerInterface <NSObject>

//服务器地址
@property (nonatomic,strong) NSString * serverAddress;


#pragma mark  01 get urlencode
	// http://www.xx.com?param1=value1
- (NSURLSessionDataTask *)getRequestWithRequestConfig:(JsRequestConfig *) config
										   completion:(ResponseHandler)completion;


#pragma mark 02 post
#pragma mark 0201 post application/json
- (NSURLSessionDataTask *)postRequestByJsonWithRequestConfig:(JsRequestConfig *) config
												  completion:(ResponseHandler)completion;

@end
NS_ASSUME_NONNULL_END
